avoids referencing jndi ds twice