delete the __tablename__ to avoid the conflicts with the many-to-many relationships