new delete problem solved