fixed async pipeline and checked on preliminary tests