fixed missing references for release build.