fix for sync task test