Fix Assign Pattern Bugs