Fixed a bug in SCC