Fixed typo and parameter access which broke the background process.