small bugfix: static to class vars

| Q             | A
| ------------- | ---
| Bug fix?      | [yes|]
| New feature?  | [no]
| Tests pass?   | [no]
| Fixed tickets | [no]
| Doc           | [none]