fix assign issue