modified composer, fixed minor error