numeric fix on directive