Set entry point flag must only be set once