Fixed issue with views