make delete not return useless things