added fix_bug & selsave