Resolving errors in World and Location classes