memory consumption corrections