fix typo
fix location.replace