change sol code for macosx