improvements and changes

change some views and delete some consol.log().