mher: Working fix for buf overflow