Apply directive fix