fix project import and id incrementing