Fixed a problem with z not loading correctly