fix uncommented functions