make sure that getProperties() is returning an immutable map