Fixed bug caused when no data validation is set