fixed kw id problem