pruned repo down to relevant data for illustrating the problem