fixed bug where deleted points retain data