fix broken admin page