fixing rest default view