Bug fix with beta version checking