Tried to work on views but had a rendering exception