(fix) fix broken function calls