fix error message when no solutions