cleans up data before being parsed by my other program