fix a composer bug