fixed validation for first register div