Fixing spf13 hook