mode flags
remove type flag
remove contraFlow flag