clean the codes and comments