added stop flag into enter frame.