Solve versions/<version> problem in directory choose