Fixed minor input bug