bugfix in clean: fixed re not perl