minor input bugs