fixed unneccssary creation of events objects
checking if job exists before removing