Fixed 'ver' routine.