Solved code error