fixed conflicting styles with preview