remove nonsense assigns