Fixed bug in stk responsder, to do with length calculation