Fix apc flush