fix keywords unset issue