Fixes version data type