fix assign value

fixed #95