fixing some small stuff in wallRegulator