server error was because I created a new ndb object but