fix ruler