fixed bug with keywords at end-of-line [submit bug to vendor]