mending async problems