Fix some minor bugs in smc init conditions.