had to fix bug with config