Fixed bug if config file doesn't have password