corrected active buttons on top