Fix illegal function call.