Improved hash anchor behaviour