Fixed bug that was assuming the PID was an integer.