fix for property inference scope issue