fixed missing ending curly brackets in btcddial function