bugfix: ignore ':' at the end of keywords