Fixed error where we were setting a global property keys instead of values