remove call to deleted class

Thanks @xarses who found it