ampq method syntax error