add autocontrol NULL pointer (Pointer &link) in functions RAM:: readObj(), writeObj()