fix stamp bug