fixed put and delete