fix bug introduced with iron-router