moded the views to the right place