Fixed formatting. Fixed validate function in ExactLength