fixed migration 0161 for brand new sites