bug:user refreshes browser will be treated as leaving but not entering again