compatibility w/ c++03
remove unused function