bugfix mshadow pool