fixed wrong regex to extract version numbers