fix top page buttons