address the case when full path is missing in image filename
convert dataset into a string before int