adjustments for compilation