Fixing bookmark detection