query works, multiple parameters doesnt work