fix for removed function