Added pid to improve error