Corrected solve code line