Fix inbox table is nil bug