recovered depricated function still used by some elements