bug in parallel