get rid of absolute path for python