fix load services and config