some fix for mdp4 overlay