some file/lib cleanup