fixed the infamous bug for empty objects configuration