document preview fixed.