Z level fixes

This fixes all the random z levels.