change flagname to pass check