fixed warning for hosted