Removing loop part