typo in the event listener for svrError