commit before platform switch