Fix models upload