fixed location JSON initialization issues