fixed put issue in thin