fix: basename should not have extension