Remove an uneeded reference that cause a warning