add return on security check

so nothing of the next steps will be executed before the land