It is a common name, but I don't think it is used anywhere as a global variable. So, it should not break the things.

Though, anyway, it is a great caught, thank you! The "record" variable must not be a global one.