fix style properties check