fixing path related stuff