custom and directive changed