bug fix in ctr_button and add some options to that