fix put-operation

Fix #195 issue.