fix -bash for basename