fixing stupid mac layout rules