removing fields that shouldn't be there