Fixed tmp hook.