fixed all kPrintf bugs