Bugs on uer input fixed and correct message being printed out.