fix tabs not working due to params