Fixed the background process issue