fixes minor typo
adds more configuration for master and slave