fixed inbox bug