fix wall generation