bug fix on background task