bug fix on multiple keywords