Fixed bug where tag was not stripped from allocated poiner