Bug fix in routes actor handler