fix warning on empty sct