fixed bug and simple text button drawing