fixed background execution issue