fixed bug with keyword model