not so first commit
fixing stup dirname