upload.hjs fixes