handle fetch error
optimize CSS