fixed some bugs in ST and dont display null entries