fix style preview