finished handling input errors