fixing view resolver ordering issue