fix bug in composer syntax