fixed warning with background task