use flags related depends for binding