fixed some rules in css