Fix an issue to prevent the cylcles in the imported file.