tidy up nonsense