fixed delete in dotNet