Fixed bug with show view