small fix for solution formatting
big bug fix!