fixed issue with put