z order was corrected