handle exception determining whether to apply overlay