small changes in directive