Fix error on config not set