Fixed ddply for non "" encased functions