fixed migration for custom users