fixed bug related to relative paths from the home directory