Removed some minor error in input redirection