Fixed bug with double view