(bug) fix pendingController so it works with the server
Merge pull request #86 from Neco-Murphy/bug/fixPending

(bug) fix pendingController so it works with the server