fixed duplicate ids and styling