fixed loading gems