hotfix for runtime reflection on java7