use base name instead of name