implemented and fixed FFPatcher