Fixed two possible exploits with workloads