rollback extensionfunctions.c changes