Remove bad loop