Fixed More Build Errors

BUG: SMap[index] causes Error, but code should be valid SMap.find(index)
doesn't raise error.