Updating error message for read string