remove plyr dependency