sync from latest lynx code