Fixed a record bucle