fixed validator warnings