some improvement to legacy rake migration