Bug fixes

realted to displaying the right reason