materialize ghost flips at right time