fix apphook