fix for makeing api calls to iron router possible