You are using ST 2.0.1.1?but your code is suitable for ST 1.0