bugfix in putMemStatus()