fixing aync stuff