minor refactoring / fix putversionrequest