fixing a bug where payload build didn't work correctly