fixed the issue with status switching too fast for the looops