auto focus exception handling