Fix for view is not hashable