Fixed the input errors.