fix self location and group location