improve keyword extraction. contributes to #1