resolve issue in file image format