fixed input functions