only upload media if there is one