fix upload of annexes