fixed encoding problem for versions