fix active buttons