MIGRATION disable max code