handle if upload data is null