TEMP
Fixed bug preference setter, restored using preference rather than param