Fixing localZero to avoid zero-begining directories