fixed bug with header selector buttons