fix preview (Thanks EPinter) and update to 3.19