fixes in put methods