helpers for flux apps