Fix css and add db index.