some fixes for get all mem