Cleaned up the duplicate reference of the variable