avoid crash for cms file