fix problem on put