fixing composer syntax error