fix v0.3-rc3 compatibility