bug in solve function

update 2013-03-22