fixes that asyc error