cast fix flip