fixing button highlighting