fix patch scatter