solved why it stopped early