update to escape NA's