Fix basename