Fix (most) shell problems. Some we simply can not.