Fix hardcoded version and change version variable to const

Version var is never goint to be change, it should be const