remove unused directive