Fix path array sizing