remove loop in app