fix inbox chat in right order