Fixed view crash