Changed PID to be an integer in the Spatial jobs