chage dir to relative