fix rulers