fix errors with _ids