fix record typeid file name empty bug in ubuntu