Cleanup for bern migration