fix problem with print styles