handle small error case