update: add console code in sandbox.