fix some views and their controllers