modify for pomelo 0.3.3