fix css and api