fixed bug where client heartbeat wasnt being set