Fixed a bug in Add Assignment