Issue with directive parameters fixed