handle versions properly