fix inconsistent ruler behavior (closes #2)