fix finally statement for preload