Display error message if the code is wrong