[api] yet another fix for my favorite migration ;(