fix more compilation warnings, missing functions

some functions were changed or introduced in 24.3