fixed pointer problem
fix for fast stopping