Fix the red star

Fix the red star problem when fields are require