better handling for post receive payload