err in assign