few more fixes to the parser ... also to template
direction and step now working okay...