fix record allocation and slides of it