Avoid closure to get the real references in case of cloned elements
Remove unused variable