[-] fixed error if data row count is less than grid row count