fixed issue in deleting routing table