Fixed view compile issue