Fixed user memory access bug