a bug in iron router, posting here for stack overflow