add safety check step, fixes #36