got rid of extra characters