fix loop isse
remove console log