fix $home_path in preview-program.php

so page.php can alway get correct home path