Fix bug in compose method
Merge pull request #10 from undr/fix_compose

Fix bug in compose method