#2 load config in safe way