Fixes bug when cpt files are missing