Fixes some crappy regex