fix upload template