debug panel fixes for when there was no db query or session data