Fixed bug with default view