little fixes in is_reserved_word