remove common.cpp, remove commented code in common.h