added missing data check for pitch