apply patch to support 0.4.1