Fixed all bugs in views and specs