load config (little fixes)