edit checks on parsing