Remove invalid characters
Remove testing output