found a bug, don't properly handle many to one relations