Fix inlined payload loading