fix backgroundjobs and hooks