preview fixes due to library change