change the delete instance implementation.
manage number default value