fix a bug for fitness function under relaxation
code cleanup