Renamed var that stated string but was an object