Fixing exception when evaluate regualr exceptions.