fix: upload required on condition