correct errors in sender