make all actions return err, data, although not necessary