re-remove the unecessary directives