fix typo
fix successCallback and errorCallback variable name