fix na.rm to ave/std trial data