fixed incorrect heartbeat event