try to fix static references to constructors #796