replace plyr by dplyr, rewrite autoFill