fix undefined variable 'patch32'