Fix boxes migration