Fixed unneeded object reference