fix regex for de-packaging