FIXED bugs for id setting and calling server, etc