Fixed shiftdown bug