Fixed some input issues.