fix for verifyStyles method