versions ordering fix