fixed anchor hook, now anchor is at top of code block