strict check of openFlag