corrected some flags and typenames
ball rdy to move