error last char