modified directive and css