get rid of unused directive