BUG: logical issues in eanat part of sccan decode