fix put item (close #10)