Fix composer constraints

fix #17
replace #18