fixed running in background