Moved the heapalloced flag from init to new for ws_named

Why did you insert this blank line?