fix linking to homepage and open div tag