fix upload image crash bug
test