fix regex error when retrieving MAFs
remove debug flag