fix ruler behaviour drastically