Fix path pattern