add curry in handles fix #46