avoid undefined in compensation.