fixed errors on slide