Fix parameter parsing issue in cowboy method