remove obsolete stuff that causes potential error message