fixed put key bug