fixed first slide problem