fix bug with posting hash as body