Fixed a bug in SubAssignPanel