fixed problem with mutation