Insert missing flags