Fixed error of incorrect locations.