fix for .implied class breaking layouts in some cases