ydn-db has weird minimzation errors