fix bug in mutation