compile fix for older base version