fixe for uncaught reference in on erro