2 fixed unassigned reshapes in em (#3674)