Add records small bug fix