Fixed invalid function reference
Updated callback errors