Bug fix

Changing the location of the appeal to the callback function