Fixed User Memory Check Function