fix upload_to field