remove method HasModifier