contAssign bug fixed