fix user online status, fix #197