added real data size check on upload