Fixing bug in appeals