Fix the fake view code