Fixing INTERNAL property issue in python agent