use better way to get basename of path