fixed keyword deletion