remove only last char with code 13