Fixed placeBid(pid) in app and server