Fixed bug for is mem available function and manager