Fixed view resolving exception