fix random z coord