remove nonnecessary info