data clean up on parser