Still bug in solving thread