removed duplicate call to exec custom warnings