Fix EOF Exception on bad move input