Fix bug in putRequestMessage