adjust z translation