trying to get resolve to work on homepage