Additional code removal for the old chat page