remove commit directive