it works fully in dev mode need to adjust for obfuscation