Removing extraneous char