fixed bug in composer