ok should be on connect, not on message