fix some checks
parsenum revision