Fixed bug with hook name