Issue #12: fixing localize