Bit of variable protection. Seems to be problem was really bad state (cached shell???).