update main css
fixed permission bug