Fixing small bug with config