fix some erros in e_callbacks.c