Fixing bug with switch to .prop