fix view bugs
small changes in views