fixed iterating over home dirs