fixed return value when record unchanged