fix inbox view bug