fixed up inbox and outbox pages