hide download when record is empty