fix a missing assignment statement