Fixed some views
fixed an error in routes