change bounds in ruler now immutable operation
remove unnecessary import