fix the lobby detection for /lobby and /hub