figured out the cause init infloop