fixed views and added styles