fixed birth.death=NULL bug