Fix localize hb for empty strings. Remove debug code.