expr: scalability bugfix