minor updates in samples. redundant check removed from user memory
manager