fix propagation error for nested directive