solved problemette with config object