Fixed broken wall code.