fixed issues with framed button