fix missing assignment