fixed error with added background process