replace class key with title in inbox