fixed basename 

...ion