fix flags for Dynamic