maintain static equality

fixes #2