Some fixes in config and start configuration