Refer directive value correctly