Fix insert comment hook