filter NA out to avoid issues later on