update for bug in recording points