fixing gen new assignment