fixed object 'logl.H1' not found error, caused by a data.frame having 'matrix' columns