Fixed bug introduced during style fixes