Remove the extra characters