Fix for if inline is set to false on the directive