Error messages fix

Error message for reaching maximum number of attempts