removing full path from key ref