avoid error if SOS does not contain any templates