fixed behavior with other directives