trying to fix id errors