fixed issues in previous commit for css and index