ensure that the configuration is properly set

Prior to running synchronization it ensures that the configuration is properly
set.
cleanup
make sync two way by default