fixed normalization bug of HMMGraph