removing unneeded ldap values