backwards compatability fix