New Fulham manager Claudio Ranieri admits his predecessor Slavisa Jokanovic did good things for the club but when things went wrong a change was needed.