fixed open variable assignment