Fixed the solve code

Fixed to solve code