fix: config appears to be null at first load