make debug panel work on start page