fixed directive error