forgot to add stream synchronize