fixed urls for pattern links