mfix modied over-flow z index