fix AED upload bug