fixed rev_add.c