regenerate and make delete_label to return bool