fix for get path