fixed chained assignment that was breaking the browser in some situations