change fitness function and fix mutation