Variable should be declared in strict mode

in method 'attachPostProcess', the variable result should be declared.