removing unnecessary transfers