Fixed code in lib to enable obfuscate