make BUG_ON workable on page lookup routine