Small bug fixes for metarw mode
Merge pull request #29 from termoshtt/metarw_small_bug_fix

Bug fixes for metarw mode