fixed hand on bad input bug