fix failing preview test on master

cc @DeepDiver1975 @georgehrke @karlitschek