filter out bad URLs, event locking