Possible minor issue with ~ vs %h