Fixed error when can't solve task.