fix some URLs and import models