fix operator new/delete warnings