only upload photos buf fix left