Fixes assignment bug in data(properties) array