fix many bug
rm unused file