fix: clone before downloading resources