convert obsolete syntax to current standards