beta-vestion -not working exit and Warning message in funtion Program