fixing config registration