fix log message, process state was not print correctly
fix log message, privious state was not print correctly