Views bug fix