models check added for production env