Fix to make it compatible with ST3

A little change to make it compatible with ST2 and ST3