issue with directive