fixed for -z