some modifications for the new maglevrecord version
some small changes