fixing bugs and margins and view of the page