fix hasLoop