Fix extraneous characters