fix bug parallel