fixed bug with clickability on buttons