set top flag correctly after DP transform