div tag was in wrong place