fixed some bugs

Fixed bug of report creating and bug concerning to  Markov models