fix removeExt
cleanup