Fixed the bug in checkdata where no data was returned