fixed slide number error