migrate bugfix