fix for release compile