Fixed error constant
Fixed wrong comment placement
Fixed workload bug when data is not JSON