preview fixing