[#1795] fix to pass dataset_type to resource form