avoid basename