tweaks and fixes. related to #301, #235. close #324
add Semantic tagging. issue #329