set preview windows' title to package name