Config reader fixed