Fixed the location initing twice