Fixed an issue with the views