bug fix - settings was cheking gargoyle switch before gargoyle table was created