Fixed apply_func_t (they should be broken before)