Fixes config passing errors