updated comments
fixed potential bug with allocating space for large CL records