fixing missing man and warnings