fix utility function equation