changes for pre99 compatibility