modify some views and models