change pathpreview