modified options in directive