*fixed: make some codes follow C++ standard