Removes extraneous character