Fixed missing hook