bug fix to the dataset form