fixing compile error in bad commit